//
//  EUser.m
//  metadata
//
//  Created by easy on 11-5-30.
//  Copyright 2011 zeasy@qq.com. All rights reserved.
//

#import "EUser.h"
#import "ERClassAttributes.h"

@implementation EUser
@synthesize name;
-(id) init{

	if (self = [super init]) {
		name = @"easy";
		password = @"helloworld";
		ident = @"123456";
		number = 222;
		money = 1000000.f;
	}
	
	return self;
}

+(void) mapping:(ERClassAttributes *)aliasAttributes{
 
	[aliasAttributes mappingPropertyAlias:@"pass" withName:@"name"];
	
	[aliasAttributes mappingFieldAlias:@"pass" withName:@"password"];
}
@end
